Skip to content

feat(dart): add Dart/Pub ecosystem support#57

Merged
bug-ops merged 2 commits intomainfrom
feature/dart-pub
Feb 16, 2026
Merged

feat(dart): add Dart/Pub ecosystem support#57
bug-ops merged 2 commits intomainfrom
feature/dart-pub

Conversation

@bug-ops
Copy link
Owner

@bug-ops bug-ops commented Feb 16, 2026

Summary

  • Add deps-dart crate with full Dart/Pub ecosystem support
  • Parser for pubspec.yaml with position tracking (yaml-rust2)
  • Registry client for pub.dev API (package info + search)
  • Lock file parser for pubspec.lock
  • Version constraint matching with correct caret semantics for 0.x
  • Supports hosted, git, path, and SDK dependency sources
  • 72 unit tests, all 1049 workspace tests pass

Test plan

  • cargo nextest run — 1049 tests pass
  • cargo clippy --workspace --all-targets --all-features -- -D warnings — clean
  • cargo +nightly fmt --check — clean
  • cargo doc --workspace --no-deps --all-features — clean
  • cargo deny check — clean
  • Manual testing with AppFlowy pubspec.yaml (315 lines, 139 deps)

Add deps-dart crate implementing pubspec.yaml parser, pub.dev registry
client, pubspec.lock parser, and Dart version constraint matching.
Supports hosted, git, path, and SDK dependency sources with correct
caret semantics for 0.x versions.
@github-actions github-actions bot added rust Rust code changes parser Parser changes needs-review Needs review size: XXL >1000 lines changed labels Feb 16, 2026
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 16, 2026
@bug-ops bug-ops merged commit 8116881 into main Feb 16, 2026
20 checks passed
@bug-ops bug-ops deleted the feature/dart-pub branch February 16, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation needs-review Needs review parser Parser changes rust Rust code changes size: XXL >1000 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant